﻿@model vITs.Site.Models.DataModels.PerDiemSpecification
@using vITs.Site.Models
@{
    this.ViewBag.Title = "Lägg till Traktamentesspecifikation";
}
@using (this.Html.BeginForm())
{
    <fieldset>
        <legend>
            <h2>@this.ViewBag.Title</h2>
        </legend>
        @this.Html.ValidationSummary(true)
        <br />
        <label for="Year">År</label>
        <br />
        @this.Html.EditorFor(m => m.Year) @this.Html.ValidationMessageFor(m => m.Year)
        <br />
        <label for="Country">Land</label>
        <br />
        @this.Html.EditorFor(m => m.Country) @this.Html.ValidationMessageFor(m => m.Country)
        <br />
        <label for="Sum">Summa</label>
        <br />
        @this.Html.EditorFor(m => m.Sum) @this.Html.ValidationMessageFor(m => m.Sum)
        <br />
        <br />
        <input type="submit" value="Spara" /> <input type="button" value="Tillbaka" onclick="javascript:window.location='@this.Url.Action("Index")';" />
    </fieldset>
}
